using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Data;
using System.Xml.Serialization;

namespace UcAsp.Models
{
      [Table("Categories")]
      public class Categories
      {
         [Key]
         public int ID { get; set; }
         public string CategorieName { get; set; }
         public int ParentID { get; set; }
         public string TmepPath { get; set; }
         public string Remark { get; set; }
         public string KeyWords { get; set; }
         public int Rate { get; set; }
         [ForeignKey("CategorieID")]
         public List<Articles> Articless { get; set; }
         } 
} 
